﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PloobsEngine.Tasks
{
    public interface ITask
    {        
        /// <summary>
        /// Funcao chamada quando a task Termina
        /// </summary>
        /// <param name="result"></param>
        void Result(IAsyncResult result);

        void Process();

        //TaskEndType TaskEndType
        //{
        //    get;
        //    set;
        //}

    }
    /// <summary>
    /// Quando a funcao result sera chamada, qd o process terminar
    /// </summary>
    //public enum TaskEndType
    //{
    //    INSTANT,ON_NEXT_UPDATE
    //}

    
}
